package com.javaee.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName(value = "user")
public class User {
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	private String name;
	private Integer age;
	private String email;

	@TableLogic
	private Integer logicDelete;
}